package com.oig.sys.workflow.api.fallback;

import com.oig.sys.workflow.api.AuditCallService;
import com.oig.sys.workflow.dto.AuditCallMsgDto;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class AuditCallServiceFallBackImpl implements AuditCallService {

    @Setter
    private Throwable cause;

    @Override
    public void rec(AuditCallMsgDto auditCallMsgDto) {
        log.error("audit call feign error..", cause);
    }

}
